<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>  
  <head>  
    <%@ include file="/public/head.jspf" %>
  </head>  
    
  <body>   
  
  
  
  	<a href="send_main_aindex.action">直接跳转到后台EasyUI版本</a>
  	
    <!-- 下面两种写法都可以访问 --> 
    
<%--     <a href="${pageContext.request.contextPath }/category_update.action?category.id=13&category.type=gga&category.hot=false">访问update</a>  --%> 
   <!-- 实现ModelDriven<T>后，url中不用再写category.id，可以直接写id -->
   <a href="${pageContext.request.contextPath }/category_update.action?id=13&type=abc&hot=false&aid=7">访问update</a>
   <a href="category_save.action">访问save</a>  
    <!-- 我们在index.jsp中新加一个查询连接来测试能否将查询结果显示出来： -->
 	<a href="category_query.action">查询所有类别</a><br/>    
    <c:forEach items="${requestScope.categoryList }" var="category">  
        ${category.id } | ${category.type } | ${category.hot } <br/>  
    </c:forEach>  
      
    <c:forEach items="${sessionScope.categoryList }" var="category">  
        ${category.id } | ${category.type } | ${category.hot } <br/>  
    </c:forEach>  
      
    <c:forEach items="${applicationScope.categoryList }" var="category">  
        ${category.id } | ${category.type } | ${category.hot } <br/>  
    </c:forEach>    
  
  </body>  
</html>  